/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package clasesmath;

/**
 *
 * @author Mizael
 */
public class copysign {

    /**
   
     */
    public static void main(String[] args) {
        double m=3.7, s=6;
        System.out.println(Math.copySign(s, m));
        

    }

}
